<?php
/*
 *
 * 功能描述（动态登录模板）
 *
 * @author suoya <jlusuoya@gmail.com>
 * @version 1
 */
?>
<link href="css/comment.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/comment.js"></script>
<div style="width:400px;" class="box_bz dc_box_login">
<script>
function submitComment(obj)
{
	if($("#win_comment").val() == '')
	{
		alert("请输入评论内容");
		return false;
	}
	if(ajax_commit(obj) ==0)
		wBox.close();
	return false;
}
</script>
<form action="index.php?action=order.addcomment&id=<?php echo $_GET['id'];?>" method="POST" onsubmit="return submitComment(this)">
        <div class="starSys">
            <span class="starTitle">蛋糕口味：</span>
            <div class="starBox">
                <ul class="star" id="star">
                    <li><a href="javascript:void(0)" title="1" class="one-star">1</a></li>
                    <li><a href="javascript:void(0)" title="2" class="two-stars">2</a></li>
                    <li><a href="javascript:void(0)" title="3" class="three-stars">3</a></li>
                    <li><a href="javascript:void(0)" title="4" class="four-stars">4</a></li>
                    <li><a href="javascript:void(0)" title="5" class="five-stars">5</a></li>
                </ul>
                <div class="current-rating" id="showb"></div>
                <input type="hidden" id="taste" name="taste" value="" />
            </div>
        </div>
        <br />
        <div class="starSys">
            <span class="starTitle">送货服务：</span>
            <div class="starBox">
                <ul class="star" id="star">
                    <li><a href="javascript:void(0)" title="1" class="one-star">1</a></li>
                    <li><a href="javascript:void(0)" title="2" class="two-stars">2</a></li>
                    <li><a href="javascript:void(0)" title="3" class="three-stars">3</a></li>
                    <li><a href="javascript:void(0)" title="4" class="four-stars">4</a></li>
                    <li><a href="javascript:void(0)" title="5" class="five-stars">5</a></li>
                </ul>
                <div class="current-rating" id="showb"></div>
                <input type="hidden" id="service" name="service" value="" />
            </div>
        </div>
        <br />
        <div class="starSys">
            <span class="starTitle">购买体验：</span>
            <div class="starBox">
                <ul class="star" id="star">
                    <li><a href="javascript:void(0)" title="1" class="one-star">1</a></li>
                    <li><a href="javascript:void(0)" title="2" class="two-stars">2</a></li>
                    <li><a href="javascript:void(0)" title="3" class="three-stars">3</a></li>
                    <li><a href="javascript:void(0)" title="4" class="four-stars">4</a></li>
                    <li><a href="javascript:void(0)" title="5" class="five-stars">5</a></li>
                </ul>
                <div class="current-rating" id="showb"></div>
                <input type="hidden" id="whole" name="whole" value="" />
            </div>
        </div>
        <br />
        <div class="starSys">
            <span class="starTitle">评语：</span><textarea id="win_comment" class="bc_textarea_bg" name="comment" rows="4">下次还会购买</textarea>
        </div>
        <input class="bnt_dc_comment" type="submit" value="&nbsp;" >
    </form>
</div>	

